package com.wx.tnsadmin.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

/**
 * @Author:LLH
 * @Date:2020/8/10
 * 菜单栏导航
 */

@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@ApiModel
public class UmsMenuModel {

    @ApiModelProperty(value = "菜单ID")
    private Integer id;

    @ApiModelProperty(value = "菜单父级ID")
    private Integer pid;

    @ApiModelProperty(value = "菜单名称")
    private String menu_name;

    @ApiModelProperty(value = "菜单类型")
    private Integer menu_type;

    @ApiModelProperty(value = "菜单图标")
    private String icon;

    @ApiModelProperty(value = "菜单导航地址")
    private String menu_url;

    @ApiModelProperty(value = "菜单路径")
    private String path;

    @ApiModelProperty(value = "子级菜单")
    private List<UmsMenuModel> children;

    @ApiModelProperty(value = "用户角色")
    private List<UmsRoleModel> roles;


}
